﻿using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.DAL.HoseAdapter.FileParser.Structure
{
    public sealed class TotalMkt
    {
        private Int32 mVNIndex;
        [FieldLength(4)]
        public Int32 VNIndex
        {
            get { return mVNIndex; }
            set { mVNIndex = value; }
        }

        private Int32 mTotalTrade;
        [FieldLength(4)]
        public Int32 TotalTrade
        {
            get { return mTotalTrade; }
            set { mTotalTrade = value; }
        }

        private Double mTotalShares;
        [FieldLength(8)]
        public Double TotalShares
        {
            get { return mTotalShares; }
            set { mTotalShares = value; }
        }

        private Double mTotalValues;
        [FieldLength(8)]
        public Double TotalValues
        {
            get { return mTotalValues; }
            set { mTotalValues = value; }
        }

        private Double mUpVolume;
        [FieldLength(8)]
        public Double UpVolume
        {
            get { return mUpVolume; }
            set { mUpVolume = value; }
        }

        private Double mDownVolume;
        [FieldLength(8)]
        public Double DownVolume
        {
            get { return mDownVolume; }
            set { mDownVolume = value; }
        }

        private Double mNoChangeVolume;
        [FieldLength(8)]
        public Double NoChangeVolume
        {
            get { return mNoChangeVolume; }
            set { mNoChangeVolume = value; }
        }

        private Int16 mAdvances;
        [FieldLength(2)]
        public Int16 Advances
        {
            get { return mAdvances; }
            set { mAdvances = value; }
        }

        private Int16 mDeclines;
        [FieldLength(2)]
        public Int16 Declines
        {
            get { return mDeclines; }
            set { mDeclines = value; }
        }

        private Int16 mNoChange;
        [FieldLength(2)]
        public Int16 NoChange
        {
            get { return mNoChange; }
            set { mNoChange = value; }
        }

        private Int32 mVN50Index;
        [FieldLength(4)]
        public Int32 VN50Index
        {
            get { return mVN50Index; }
            set { mVN50Index = value; }
        }

        private String mMarketID;
        [FieldLength(1)]
        public String MarketID
        {
            get { return mMarketID; }
            set { mMarketID = value; }
        }

        private String mFilter;
        [FieldLength(1)]
        public String Filter
        {
            get { return mFilter; }
            set { mFilter = value; }
        }

        private Int32 mTime;
        [FieldLength(4)]
        public Int32 Time
        {
            get { return mTime; }
            set { mTime = value; }
        }
    }
}
